package com.mlr.mlrcturebackend.model.entity;

import com.baomidou.mybatisplus.annotation.*;

import java.io.Serializable;
import java.util.Date;

import lombok.Data;

/**
 * 图片标签关联
 * @TableName picture_tag
 */
@TableName(value ="picture_tag")
@Data
public class PictureTag implements Serializable {
    /**
     * 关联id
     */
    @TableId(type = IdType.ASSIGN_ID)
    private Long id;

    /**
     * 图片id
     */
    private Long pictureId;

    /**
     * 标签id
     */
    private Long tagId;

    /**
     * 创建时间
     */
    private Date createTime;

    /**
     * 更新时间
     */
    private Date updateTime;

    /**
     * 是否删除
     */
    @TableLogic
    private Integer isDelete;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}